package com.infocollect.project.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("媒体内容信息表")
@TableName("new_content")
public class NewContentEntity extends Model<NewContentEntity> {
    @ApiModelProperty("主键")
    @TableId(value = "fid", type = IdType.AUTO)
    private Long fid;
    @ApiModelProperty("创建时间")
    private Date fcreationdate;
    @ApiModelProperty("创建人")
    private String fcreateby;
    @ApiModelProperty("最后修改时间")
    private Date flastupdatedate;
    @ApiModelProperty("最后修改人")
    private String flastupdateby;
    @ApiModelProperty("内容信息")
    private String content;
    @ApiModelProperty("主题信息")
    private String title;
    @ApiModelProperty("目录分类编码")
    private String catalogCode;
    @ApiModelProperty("形象图片")
    private String avatar;
    @ApiModelProperty("类别编码")
    private String typeCode;

}
